-
Notifications
You must be signed in to change notification settings - Fork 265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Delete model metadata from schema_*.yaml #2195
Conversation
@@ -1321,6 +1369,7 @@ def run_pipeline(self, skip_completed: bool, num_instances: int) -> None: | |||
self.read_overlap_stats() | |||
|
|||
self.write_executive_summary() | |||
self.write_schema() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any reason this is moved down?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, write_schema()
now needs to go after read_runs()
, because the runs are now needed to filter out the models that get written to the schema.
Eventually, it would be good to do a refactor to change all the instance variables to local variables, which will make the inputs and outputs of each step more clear.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it. Maybe leave a comment?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, added a comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for cleaning this up!
Drive by addressing #2197 which is breaking CI. |
Currently, model metadata is duplicated across three files (
schema_classic.yaml
,schema_lite.yaml
,model_metadata.yaml
). This makes it difficult to keep model metadata up to date.Additionally, the frontend currently displays metadata for every model, instead of only models that are available.
This deletes models from
schema_classic.yaml
andschema_lite.yaml
. Model metadata should only be stored inmodel_metadata.yaml
.Additionally, this changes
helm-summarize
to only write model metadata from models that were actually used in the suite to the frontend JSON. For instance, this prevents HEIM or VHELM models from showing up on the HELM Lite sub-site.Also addresses #2197 to make CI pass, by pinning
opencv-python==4.9.0.80
.